package cn.xn.hrms.api.dto.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ysz
 */
@Data
public class PersonalTrainReqDTO {
    @NotNull(message = "用户必填")
    private Integer personalId;
    @NotNull(message = "时间必填")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date trainBeginDate;
    @NotNull(message = "时间必填")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date trainEndDate;
    private String trainContent;
    private BigDecimal trainScore;
    private BigDecimal trainCost;
    private String trainRemark;
}
